var app = angular.module('app', ['ngRoute','ngResource',"kendo.directives" ]);
app.config(function($routeProvider){
    $routeProvider
        .when('/barChart',{
            templateUrl: '/views/barChart.html',
            controller: 'barController'
        })
        .when('/pieChart',{
            templateUrl: '/views/pieChart.html',
            controller: 'pieController'
        })

        .otherwise(
            { redirectTo: '/'}
        );
});

